﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Week3_1_Entity
{
    /// <summary>
    /// 商品
    /// </summary>
    [Table("Goods")]
    public class Goods
    {
        [Key]
        public int Gid { get; set; }//商品ID
        public string? GCode {  get; set; }//商品编码
        public string? Gname {  get; set; }//商品名称
        public string? Gimg {  get; set; }//商品图片


    }
}
